package com.lzh.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("供应商联系人")
public class SupplierContact {
    int id;

    int supplierId;

    @ApiModelProperty("供应商联系人名称")
    @NotBlank(message = "供应商联系人名称不能为空")
    String  sales_name;

    @ApiModelProperty("销售联系电话")
    String  sales_phone;

    @ApiModelProperty("销售邮箱")
    String  sales_email;

    @ApiModelProperty("老板联系人")
    String  boss_name;

    @ApiModelProperty("老板联系电话")
    String  boss_phone;

    @ApiModelProperty("老板邮箱")
    String  boss_email;

    @ApiModelProperty("财务联系人")
    String  finance_name ;

    @ApiModelProperty("财务联系电话")
    String  finance_phone;

    @ApiModelProperty("财务联邮箱")
    String  finance_email;

    @ApiModelProperty("是否删除")
    String isdel;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(int supplierId) {
        this.supplierId = supplierId;
    }

    public @NotBlank(message = "供应商联系人名称不能为空") String getSales_name() {
        return sales_name;
    }

    public void setSales_name(@NotBlank(message = "供应商联系人名称不能为空") String sales_name) {
        this.sales_name = sales_name;
    }

    public String getSales_phone() {
        return sales_phone;
    }

    public void setSales_phone(String sales_phone) {
        this.sales_phone = sales_phone;
    }

    public String getSales_email() {
        return sales_email;
    }

    public void setSales_email(String sales_email) {
        this.sales_email = sales_email;
    }

    public String getBoss_name() {
        return boss_name;
    }

    public void setBoss_name(String boss_name) {
        this.boss_name = boss_name;
    }

    public String getBoss_phone() {
        return boss_phone;
    }

    public void setBoss_phone(String boss_phone) {
        this.boss_phone = boss_phone;
    }

    public String getBoss_email() {
        return boss_email;
    }

    public void setBoss_email(String boss_email) {
        this.boss_email = boss_email;
    }

    public String getFinance_name() {
        return finance_name;
    }

    public void setFinance_name(String finance_name) {
        this.finance_name = finance_name;
    }

    public String getFinance_phone() {
        return finance_phone;
    }

    public void setFinance_phone(String finance_phone) {
        this.finance_phone = finance_phone;
    }

    public String getFinance_email() {
        return finance_email;
    }

    public void setFinance_email(String finance_email) {
        this.finance_email = finance_email;
    }

    public String getIsdel() {
        return isdel;
    }

    public void setIsdel(String isdel) {
        this.isdel = isdel;
    }
}


